package com.sz.security.config;

import cn.dev33.satoken.stp.StpLogic;
import cn.dev33.satoken.stp.StpUtil;

public class StpKit {
    // 1. 原生默认账号体系（可选，若用不到可删除）
    public static final StpLogic DEFAULT = StpUtil.stpLogic;

    // 2. Admin 账号体系：管理 admin 表的登录、鉴权
    public static final StpLogic ADMIN = new StpLogic("admin"); // LoginType = "admin"

    // 3. User 账号体系：管理 user 表的登录、鉴权
    public static final StpLogic USER = new StpLogic("user");   // LoginType = "user"

    // 4. 扩展：若有更多账号表（如商家表 merchant），新增即可
    // public static final StpLogic MERCHANT = new StpLogic("merchant");
}
